package com.yumeng.framework.auth.security.custom;

import com.yumeng.common.auth.BaseAuthInfo;
import org.springframework.security.core.Authentication;

/**
 *
 * 将Authentication解析为BaseAuthInfo
 * 针对一些特殊的认证方式，便于用户自定义扩展
 *
 */
public interface AuthInfoResolver {

    BaseAuthInfo resolve(Authentication authentication);

}
